Continue reducing clone costs
authorAlex Crichton <alex@alexcrichton.com>
Fri, 17 Oct 2014 18:50:18 +0000 (11:50 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 22 Oct 2014 18:29:52 +0000 (11:29 -0700)
commit98f0dab3cdb51e27a4b56020b884d5552ecd740f
treeb4a11ceec65ff786b2bb24888eda6a893e6043c0
parent913c243fd467e29145656f9fcdd83611511bfb96
Continue reducing clone costs

Share the `visited` hash set among all contexts, just be sure to maintain it
across failures. Also put all Summary structures into an `Rc` as they're cloned
quite frequently.
src/cargo/core/resolver/mod.rs